package com.ellecity06.cwhiskymall.ui.newer

import com.ellecity06.common.base.view.IUiState
import com.ellecity06.cwhiskymall.bean.response.GoodResponse


sealed class NewerGoodState : IUiState {

    data class RefreshSuccess(val list: List<GoodResponse>, val hasMore: Boolean) : NewerGoodState()
    data class LoadMoreSuccess(val list: List<GoodResponse>, val hasMore: Boolean) : NewerGoodState()

    /**
     * 没有更多
     */
    object NoMore : NewerGoodState()

    /**
     * 加载失败
     */
    object LoadError : NewerGoodState()
}
